// 创建动态
import httpInstance from '@/utils/http'
export const getCheckingDynamic = (checkDynamicCondition) => {
  return httpInstance({
    url: '/api/check/getCheckingDynamic', // 后端创建动态的接口地址
    method: 'post',
    data: checkDynamicCondition, // 动态数据
  })
}

export const reviewDynamic = (reviewDynamicResult) => {
  return httpInstance({
    url: '/api/check/reviewDynamic',
    method: 'post',
    data: reviewDynamicResult,
  })
}

export const getCheckingArticles = (checkArticleCondition) => {
  return httpInstance({
    url: '/api/check/getCheckingArticles', // 后端创建动态的接口地址
    method: 'post',
    data: checkArticleCondition, // 动态数据
  })
}

export const reviewArticle = (reviewArticleResult) => {
  return httpInstance({
    url: '/api/check/reviewArticle',
    method: 'post',
    data: reviewArticleResult,
  })
}
